package com.woniuxy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * @Author：向天浩
 * @Date：2022/2/14 10:58
 * @Description :TODO
 */
@Controller
@RequestMapping("/testone")
public class Mycontroller {

    @RequestMapping("/test")
    public String test(@RequestParam Date dt){
        System.out.println(dt.toString());
      return "success";
    };
}
